package se.combitech;

import java.sql.Connection;

import javax.enterprise.event.Observes;
import javax.inject.Inject;

public class Signal {
	
	
	@Inject
	@CombitechConnection
	private Connection connection;
	
	public void log(@Observes FileEvent event){
		System.out.println(event.getNumberOfLines());

		//Logga detta till databas
		System.out.println(connection);
		
		
	}

}
